package cn.zymall.merchant;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author xuxianda
 * @Description: 商家服务启动类
 * @date 2020/8/16 19:49
 * @Copyright
 * @return
 **/
@MapperScan("cn.zymall.merchant.mapper")
@ComponentScan("cn.zymall.common.controller")
@ComponentScan("cn.zymall.common.model")
@ComponentScan("cn.zymall.common.config.druid")
@ComponentScan("cn.zymall.common.config.myBatisPlus")
@ComponentScan("cn.zymall.common.config.redis")
@ComponentScan("cn.zymall.common.utils.redis")
@ComponentScan("cn.zymall.common.config.cross")
@ComponentScan("cn.zymall.common.utils")
@ComponentScan("cn.zymall.merchant")
@ComponentScan("cn.zymall.common.feign.fastFile")
@ComponentScan("cn.zymall.common.config.feign")
@EnableEurekaClient
@SpringBootApplication
@EnableFeignClients("cn.zymall.common.feign")
public class Merchant8301Application {
    public static void main(String[] args) {
        SpringApplication.run(Merchant8301Application.class, args);
    }
}
